home *** CD-ROM | disk | FTP | other *** search
Wrap
ssssttttrrrrooooppppttttiiiioooonnnnssss((((DDDD4444)))) ssssttttrrrrooooppppttttiiiioooonnnnssss((((DDDD4444)))) NNNNAAAAMMMMEEEE _ssss_tttt_rrrr_oooo_pppp_tttt_iiii_oooo_nnnn_ssss - stream head option structure SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_ssss_tttt_rrrr_eeee_aaaa_mmmm_...._hhhh_>>>> _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_ssss_tttt_rrrr_oooo_pppp_tttt_ssss_...._hhhh_>>>> _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_dddd_dddd_iiii_...._hhhh_>>>> DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN The _ssss_tttt_rrrr_oooo_pppp_tttt_iiii_oooo_nnnn_ssss structure, used in an _MMMM______SSSS_EEEE_TTTT_OOOO_PPPP_TTTT_SSSS message, contains options for the stream head. UUUUSSSSAAAAGGGGEEEE The _MMMM______SSSS_EEEE_TTTT_OOOO_PPPP_TTTT_SSSS message is sent upstream by drivers and modules when they want to change stream head options for their stream. SSSSttttrrrruuuuccccttttuuuurrrreeee DDDDeeeeffffiiiinnnniiiittttiiiioooonnnnssss The _ssss_tttt_rrrr_oooo_pppp_tttt_iiii_oooo_nnnn_ssss structure contains the following members: _uuuu_llll_oooo_nnnn_gggg______tttt _ssss_oooo______ffff_llll_aaaa_gggg_ssss_;;;; _////_**** _oooo_pppp_tttt_iiii_oooo_nnnn_ssss _tttt_oooo _ssss_eeee_tttt _****_//// _ssss_hhhh_oooo_rrrr_tttt _ssss_oooo______rrrr_eeee_aaaa_dddd_oooo_pppp_tttt_;;;; _////_**** _rrrr_eeee_aaaa_dddd _oooo_pppp_tttt_iiii_oooo_nnnn _****_//// _uuuu_ssss_hhhh_oooo_rrrr_tttt______tttt _ssss_oooo______wwww_rrrr_oooo_ffff_ffff_;;;; _////_**** _wwww_rrrr_iiii_tttt_eeee _oooo_ffff_ffff_ssss_eeee_tttt _****_//// _llll_oooo_nnnn_gggg _ssss_oooo______mmmm_iiii_nnnn_pppp_ssss_zzzz_;;;; _////_**** _mmmm_iiii_nnnn_iiii_mmmm_uuuu_mmmm _rrrr_eeee_aaaa_dddd _pppp_aaaa_cccc_kkkk_eeee_tttt _ssss_iiii_zzzz_eeee _****_//// _llll_oooo_nnnn_gggg _ssss_oooo______mmmm_aaaa_xxxx_pppp_ssss_zzzz_;;;; _////_**** _mmmm_aaaa_xxxx_iiii_mmmm_uuuu_mmmm _rrrr_eeee_aaaa_dddd _pppp_aaaa_cccc_kkkk_eeee_tttt _ssss_iiii_zzzz_eeee _****_//// _uuuu_llll_oooo_nnnn_gggg______tttt _ssss_oooo______hhhh_iiii_wwww_aaaa_tttt_;;;; _////_**** _rrrr_eeee_aaaa_dddd _qqqq_uuuu_eeee_uuuu_eeee _hhhh_iiii_gggg_hhhh _wwww_aaaa_tttt_eeee_rrrr _mmmm_aaaa_rrrr_kkkk _****_//// _uuuu_llll_oooo_nnnn_gggg______tttt _ssss_oooo______llll_oooo_wwww_aaaa_tttt_;;;; _////_**** _rrrr_eeee_aaaa_dddd _qqqq_uuuu_eeee_uuuu_eeee _llll_oooo_wwww _wwww_aaaa_tttt_eeee_rrrr _mmmm_aaaa_rrrr_kkkk _****_//// _uuuu_cccc_hhhh_aaaa_rrrr______tttt _ssss_oooo______bbbb_aaaa_nnnn_dddd_;;;; _////_**** _bbbb_aaaa_nnnn_dddd _ffff_oooo_rrrr _wwww_aaaa_tttt_eeee_rrrr _mmmm_aaaa_rrrr_kkkk_ssss _****_//// The _ssss_oooo______ffff_llll_aaaa_gggg_ssss field determines which options are to be set, and which of the other fields in the structure are used. This field is a bitmask and is comprised of the bit-wise OR of the following flags: _SSSS_OOOO______RRRR_EEEE_AAAA_DDDD_OOOO_PPPP_TTTT Set the read option to that specified by the _ssss_oooo______rrrr_eeee_aaaa_dddd_oooo_pppp_tttt field. _SSSS_OOOO______WWWW_RRRR_OOOO_FFFF_FFFF Set the write offset to that specified by the _ssss_oooo______wwww_rrrr_oooo_ffff_ffff field. _SSSS_OOOO______MMMM_IIII_NNNN_PPPP_SSSS_ZZZZ Set the minimum packet size on the stream head read queue to that specified by the _ssss_oooo______mmmm_iiii_nnnn_pppp_ssss_zzzz field. _SSSS_OOOO______MMMM_AAAA_XXXX_PPPP_SSSS_ZZZZ Set the maximum packet size on the stream head read queue to that specified by the _ssss_oooo______mmmm_aaaa_xxxx_pppp_ssss_zzzz field. _SSSS_OOOO______HHHH_IIII_WWWW_AAAA_TTTT Set the high water mark on the stream head read queue to that specified by the _ssss_oooo______hhhh_iiii_wwww_aaaa_tttt field. _SSSS_OOOO______LLLL_OOOO_WWWW_AAAA_TTTT Set the low water mark on the stream head read queue to that specified by the _ssss_oooo______llll_oooo_wwww_aaaa_tttt field. _SSSS_OOOO______AAAA_LLLL_LLLL Set all of the above options (_SSSS_OOOO______RRRR_EEEE_AAAA_DDDD_OOOO_PPPP_TTTT _|||| _SSSS_OOOO______WWWW_RRRR_OOOO_FFFF_FFFF _|||| _SSSS_OOOO______MMMM_IIII_NNNN_PPPP_SSSS_ZZZZ _|||| _SSSS_OOOO______MMMM_AAAA_XXXX_PPPP_SSSS_ZZZZ _|||| _SSSS_OOOO______HHHH_IIII_WWWW_AAAA_TTTT _|||| _SSSS_OOOO______LLLL_OOOO_WWWW_AAAA_TTTT). PPPPaaaaggggeeee 1111 ssssttttrrrrooooppppttttiiiioooonnnnssss((((DDDD4444)))) ssssttttrrrrooooppppttttiiiioooonnnnssss((((DDDD4444)))) _SSSS_OOOO______MMMM_RRRR_EEEE_AAAA_DDDD_OOOO_NNNN Turn on generation of _MMMM______RRRR_EEEE_AAAA_DDDD messages by the stream head. _SSSS_OOOO______MMMM_RRRR_EEEE_AAAA_DDDD_OOOO_FFFF_FFFF Turn off generation of _MMMM______RRRR_EEEE_AAAA_DDDD messages by the stream head. _SSSS_OOOO______NNNN_DDDD_EEEE_LLLL_OOOO_NNNN Use old TTY semantics for no-delay reads and writes. _SSSS_OOOO______NNNN_DDDD_EEEE_LLLL_OOOO_FFFF_FFFF Use STREAMS semantics for no-delay reads and writes. _SSSS_OOOO______IIII_SSSS_TTTT_TTTT_YYYY The stream is acting as a terminal. _SSSS_OOOO______IIII_SSSS_NNNN_TTTT_TTTT_YYYY The stream is no longer acting as a terminal. _SSSS_OOOO______TTTT_OOOO_SSSS_TTTT_OOOO_PPPP Stop processes on background writes to this stream. _SSSS_OOOO______TTTT_OOOO_NNNN_SSSS_TTTT_OOOO_PPPP Don't stop processes on background writes to this stream. _SSSS_OOOO______BBBB_AAAA_NNNN_DDDD The water marks changes affect the priority band specified by the _ssss_oooo______bbbb_aaaa_nnnn_dddd field. The _ssss_oooo______rrrr_eeee_aaaa_dddd_oooo_pppp_tttt field specifies options for the stream head that alter the way it handles _rrrr_eeee_aaaa_dddd(2) calls. This field is a bitmask whose flags are grouped in sets. Within a set, the flags are mutually exclusive. The first set of flags determines how data messages are treated when they are read: _RRRR_NNNN_OOOO_RRRR_MMMM Normal (byte stream) mode. _rrrr_eeee_aaaa_dddd returns the lesser of the number of bytes asked for and the number of bytes available. Messages with partially read data are placed back on the head of the stream head read queue. This is the default behavior. _RRRR_MMMM_SSSS_GGGG_DDDD Message discard mode. _rrrr_eeee_aaaa_dddd returns the lesser of the number of bytes asked for and the number of bytes in the first message on the stream head read queue. Messages with partially read data are freed. _RRRR_MMMM_SSSS_GGGG_NNNN Message non-discard mode. _rrrr_eeee_aaaa_dddd returns the lesser of the number of bytes asked for and the number of bytes in the first message on the stream head read queue. Messages with partially read data are placed back on the head of the stream head read queue. The second set of flags determines how protocol messages (_MMMM______PPPP_RRRR_OOOO_TTTT_OOOO and _MMMM______PPPP_CCCC_PPPP_RRRR_OOOO_TTTT_OOOO) are treated during a _rrrr_eeee_aaaa_dddd: _RRRR_PPPP_RRRR_OOOO_TTTT_NNNN_OOOO_RRRR_MMMM Normal mode. _rrrr_eeee_aaaa_dddd fails with the error code _EEEE_BBBB_AAAA_DDDD_MMMM_SSSS_GGGG if there is a protocol message at the front of the stream head read queue. This is the default behavior. PPPPaaaaggggeeee 2222 ssssttttrrrrooooppppttttiiiioooonnnnssss((((DDDD4444)))) ssssttttrrrrooooppppttttiiiioooonnnnssss((((DDDD4444)))) _RRRR_PPPP_RRRR_OOOO_TTTT_DDDD_IIII_SSSS Protocol discard mode. _rrrr_eeee_aaaa_dddd discards the _MMMM______PPPP_RRRR_OOOO_TTTT_OOOO or _MMMM______PPPP_CCCC_PPPP_RRRR_OOOO_TTTT_OOOO portions of the message and return any _MMMM______DDDD_AAAA_TTTT_AAAA portions that may be present. _MMMM______PPPP_AAAA_SSSS_SSSS_FFFF_PPPP messages are also freed in this mode. _RRRR_PPPP_RRRR_OOOO_TTTT_DDDD_AAAA_TTTT Protocol data mode. _rrrr_eeee_aaaa_dddd treats the _MMMM______PPPP_RRRR_OOOO_TTTT_OOOO or _MMMM______PPPP_CCCC_PPPP_RRRR_OOOO_TTTT_OOOO portions of the message as if they were normal data (that is, they are delivered to the user.) The _ssss_oooo______wwww_rrrr_oooo_ffff_ffff field specifies a byte offset to be included in the first message block of every _MMMM______DDDD_AAAA_TTTT_AAAA message created by a _wwww_rrrr_iiii_tttt_eeee(2) and the first _MMMM______DDDD_AAAA_TTTT_AAAA message block created by each call to _pppp_uuuu_tttt_mmmm_ssss_gggg(2). The _ssss_oooo______mmmm_iiii_nnnn_pppp_ssss_zzzz field specifies the minimum packet size for the stream head read queue. The _ssss_oooo______mmmm_aaaa_xxxx_pppp_ssss_zzzz field specifies the maximum packet size for the stream head read queue. The _ssss_oooo______hhhh_iiii_wwww_aaaa_tttt field specifies the high water mark for the stream head read queue. The _ssss_oooo______llll_oooo_wwww_aaaa_tttt field specifies the low water mark for the stream head read queue. The _ssss_oooo______bbbb_aaaa_nnnn_dddd field specifies the priority band to which the high and/or low water mark changes should be applied. RRRREEEEFFFFEEEERRRREEEENNNNCCCCEEEESSSS _dddd_aaaa_tttt_aaaa_bbbb(D4), _mmmm_eeee_ssss_ssss_aaaa_gggg_eeee_ssss(D5), _mmmm_ssss_gggg_bbbb(D4), _rrrr_eeee_aaaa_dddd(2), _ssss_tttt_rrrr_eeee_aaaa_mmmm_iiii_oooo(7) PPPPaaaaggggeeee 3333